<table id='table1'>
  <tr>
    <td>Cell #1</td>
    <td>Cell #2</td>
  </tr>
  <tr>
    <td>Cell #3</td>
    <td>Cell #4</td>
  </tr>
</table>

<script>
  document.getElementById('table1').borderColorLight =
      document.getElementById('table1').borderColorDark;
</script>

<table border="1"
  BORDERCOLORLIGHT="red"
  BorderColorDark="blue">
  <tr>
    <td>Cell #1</td>
    <td>Cell #2</td>
  </tr>
  <tr>
    <td>Cell #3</td>
    <td>Cell #4</td>
  </tr>
</table>
